'Declaration Public Overloads Sub LockPixelsForSerialAccess( _
ByVal rectA Rectangle structure specifying the portion of the source image to lock.As System.Drawing.Rectangle, _
ByVal lockModeAn ImageLockMode enumeration specifying the access level (read/write) for the source image.As BitmapLockMode, _
ByVal pixelFormatPixel format to lock the source image.As PixelFormat, _
ByVal serialBufferBuffer for serial read/write.() As Byte, _
ByVal reverseReadWriteA value indicating whether reverse reading/writing must be used.As Boolean _
)
public void LockPixelsForSerialAccess(
System.Drawing.Rectangle rect,
BitmapLockMode lockMode,
PixelFormat pixelFormat,
byte[] serialBuffer,
bool reverseReadWrite
)
public: void LockPixelsForSerialAccess(
System.Drawing.Rectangle* rect,
BitmapLockMode lockMode,
PixelFormat pixelFormat,
byte[]* serialBuffer,
bool reverseReadWrite
)
public:
void LockPixelsForSerialAccess(
System.Drawing.Rectangle^ rect,
BitmapLockMode lockMode,
PixelFormat pixelFormat,
array<byte>^ serialBuffer,
bool reverseReadWrite
)
Parameters
- rect
- A Rectangle structure specifying the portion of the source image to lock.
- lockMode
- An ImageLockMode enumeration specifying the access level (read/write) for the source image.
- pixelFormat
- Pixel format to lock the source image.
- serialBuffer
- Buffer for serial read/write.
- reverseReadWrite
- A value indicating whether reverse reading/writing must be used.